package com.itheima.mapper;


import com.itheima.pojo.Brand;
import org.springframework.stereotype.Component;
import java.util.List;

@Component
public interface BrandMapper {
    List<Brand> findAll();

    Integer add(Brand brand);

    Brand findById(Integer id);

    Integer update(Brand brand);

    Integer delete(Integer id);
}
